<template>
  <my-template>
    <div class="main-content">
      <slot></slot>
    </div>
    <my-footer></my-footer>
  </my-template>
</template>

<script>
import MyTemplate from "@/components/my-template/index";
import MyFooter from '@/components/my-footer'

/**
 * {自定义模版2}
 *
 * @author: 宋康
 * @date: 2023/2/2
 */

export default {
  name: "GlobalTemplate1",
  components: {
    MyTemplate,
    MyFooter
  }
}
</script>

<style lang="scss" scoped>
.main-content {
  width: 100%;
  min-height: calc(100vh - 350px);
  display: grid;
}
</style>